<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <div id="app">

        <!--表单项，自定义组件-->
        精通的语言：
        <input type="checkbox" value="java" v-model="language" name="language">java<br>
        <input type="checkbox" value="php" v-model="language" name="language">php<br>
        <input type="checkbox" value="sql" v-model="language" name="language">sql<br>

        选择的语言：
        {{language.join(",")}}

    </div>

</body>

<script src="../node_modules/vue/dist/vue.js"></script>

    <script>
        let vm =  new Vue({
            el: "#app",
            data: {
                language:[]
            }
        });

        
        
    </script>
</html>